package com.funsport.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.funsport.entity.CommunityPost;

/**
 * CommunityPost Service接口
 */
public interface ICommunityPostService extends IService<CommunityPost> {
    
    /**
     * 点赞/取消点赞帖子
     * @param postId 帖子ID
     * @param userId 用户ID
     * @return 操作是否成功
     */
    boolean toggleLike(Long postId, Long userId);
}
